package com.sand.service;

import com.sand.entity.OrdertableEntity;
import com.sand.util.PageModel;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IOrderService {
    HashMap<String,Object> queryOrderById(int id);
    PageModel<HashMap<String, Object>> queryOrderLimit(int limit, int page, int showWi, String condition);


    //查询租客预约信息
    PageModel<HashMap<String,Object>> queryTenantOrderViewLimit(int limit,int page,String condition);
    //查询订单记录
    PageModel<HashMap<String, Object>> queryOrderByUserIdLimit(int limit, int page,String condition);
    //查询钱包信息
    Map<String,Object> queryWallet(int userId);
    boolean addOrder(String data);
    boolean updateOrder(String data);
    boolean updateOrderStatus(int id);
    boolean delOrder(int oid);

    //=====================lyl=========================
    //查询订单表的房子信息
    List queryHouseIdList(int uid);
    //查询订单数据
    List<HashMap<String,Object>> queryOlderList(int uid);


}
